package com.learn.fourday;

/**
 * @author ln
 * @Description: ${todo}
 * @date 2020/12/10
 */
public class ShareValueTest2 {
    public synchronized void test(){

    }
}
//    等价于
class A{
    public void test(){
        synchronized (this){

        }
    }
}



